package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 启动计划配置对象 aw_plan_config
 *
 * @author anxinr
 * @date 2023-08-11
 */
@Data
@TableName("aw_plan_config")
public class AwPlanConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @JsonSerialize(using = ToStringSerializer.class)
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /** $column.columnComment */
    @JsonSerialize(using = ToStringSerializer.class)
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long startPlanId;

    /** 配置 */
    @Excel(name = "配置")
    private String config;

    /** 状态  0  正常  1  禁用 */
    @Excel(name = "状态  0  正常  1  禁用")
    private Long state;

    private String remarks;
}
